package ai.peanut.one.api.tread.testbase;

import java.util.concurrent.Callable;

public class CallableThreadTest implements Callable<Integer> {

    @Override
    public Integer call() throws Exception {
        int i = 0;
        for(;i<4;i++)
        {
            System.out.println("callable线程"+" "+i);
        }
        return i;
    }
}
